Are HTTP requests cached? [closed]

Posted by nischayn22 on Programmers See other posts from Programmers or by nischayn22
Published on 2012-09-08T11:04:04Z Indexed on 2012/09/08 15:49 UTC
Read the original article Hit count: 223

Filed under:
|
|

Many HTTP requests are sent repeatedly by browsers on almost every page load, such as requesting the jQuery .js file etc. Since these are already used on too many sites doesn't modern browsers keep a cache for this?

I am thinking of a system where the browser has a cached copy of the .js file used very very frequently. On a new request for the .js file, it sends the server a request for a hash of the .js file (provided the server can reply to that) and compares the returned hash with the cached copy's hash... rest is intuitive.

© Programmers or respective owner

Related posts about caching

Related posts about http